package com.antdesignbackend.backend.form.report.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 投诉举报
 *
 * @author 林宇杰
 * @email report
 * @date 2020-08-07 17:43:04
 */

@Data
@TableName(value = "t_report")
public class Report implements Serializable {
	private static final long serialVersionUID = 1L;


	@TableId(value = "ID",type = IdType.AUTO)
	private Integer id;

	//投诉举报时间
	@TableField(value = "ReportTime")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date reportTime;
	//投诉举报事项
	@TableField(value = "ReportThings")
	private String reportThings;
	//需要提供的事实照片
	@TableField(value = "Photo")
	private String photo;
	//备注
	@TableField(value = "Remark")
	private String remark;
	//状态，0未通过，1通过，2审批中，3驳回
	@TableField(value = "Types")
	private Integer types;
	//创建人
	@TableField(value = "CreateBy")
	private Integer createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
	//企业ID
	@TableField(value = "Eid")
	private Integer eid;
}
